﻿using Abp.Application.Services;
using Abp.Application.Services.Dto;
using AbpProject.Menus.Dto;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace AbpProject.Menus
{
    public interface IMenuAppService: IApplicationService
    {
        Task<ListResultDto<AbpMenuModel>> GetUserMenuList();
        Task<ListResultDto<AbpMenuDto>> GetUserMenuButtonList();
        Task<ListResultDto<AbpMenuModel>> GetMenuListAll();
        //Task<ListResultDto<AbpMenuModel>> GetMenuListByRoleId(EntityDto<long> inout);
        Task<ListResultDto<AbpMenuDto>> GetButtonByMenuId(EntityDto<long> input);
        Task<ListResultDto<AbpMenuModel>> GetMenuAll();
        Task CreateOrUpdateButton(CreateOrUpdateButtonInput input);
        Task Delete(EntityDto<long> input);
        Task CreateOrUpdateMenu(CreateOrUpdateMenuInput input);
        Task<GetMenuListByRoleIdOutput> GetMenuListAllByRoleId(EntityDto<long> input);
        Task InsertRoleMunuAndButton(RoleMunuAndButtonInput input);
        Task<bool> IsHasMenuByTenant();
 
    }
}
